Skip to content

feat(ladder): CTX-0025 formal credential FER ladder (carrier/robust/stealth) - #32

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0025/feat-ladder
Aug 31, 2026
Merged

feat(ladder): CTX-0025 formal credential FER ladder (carrier/robust/stealth)#32
Xuepoo merged 1 commit into
mainfrom
ctx-0025/feat-ladder

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Closes CTX-0025

  • Adds src/bin/ladder.rs reusing framing/ECC/registration for 128b token
  • Covers 512/1024/1254 × dct/dwt × placements × JPEG q30/50/75, blur σ1/2, scale 0.5/0.7, crop/rotate with attack.family/severity populated (fixes v2 identity-only bug)
  • Generates ladder-output/results.json (531 records, sha256 92e65b52...), manifest.json, and immutable archive ladder-ctx0025-20260831.tar.gz (sha256 6bf90123..., fresh R2 key or local artifact)
  • Updates capglyph-docs research/media-credential/technology/capacity-robustness-and-threats.md with measured FER replacing engineering targets

Measured (5 trials at 512/1024, 1 at 1254, skeleton):

  • 512 DCT: Rep8 FER 1.0 (capacity fail) → Bch2 FER 0.20 (PNG), 0.40 (q75/q50), 1.0 (q30); DWT FER 0 at all JPEG
  • 1024 DCT: Rep8 FER 0 at all; DWT FER 0 at all
  • 1254 DCT/DWT FER 0 at JPEG (Rep8)
  • 512 blur σ1: DWT 0, DCT 1; resize 0.7: DWT 0, DCT 1; crop/rotate blind 1 (registered recovers)

Reproduce: cargo run --release --bin ladder -- --output ladder-output --trials 5 --sizes 512,1024 --quick

… 512/1024/1254× dct/dwt × placements × JPEG q30/50/75, blur, scale, crop/rotate

- Add src/bin/ladder.rs reusing capglyph_core::framing (CBOR+HMAC), ecc (BCH/Repetition+soft LLR), registration (Translation NCC)
- Measures FER for 128b opaque token (16B → sealed 54B) with 5 trials at 512/1024 (quick JPEG) and 1 at 1254, plus 1-trial full for blur/scale/crop/rotate at 512
- Populates attack.family/severity per record (fixes v2 identity-only bug) for ladder-v1 schema
- Generates ladder-output/results.json (531 records), manifest.json (sha256 92e65b52...), and immutable archive ladder-ctx0025-20260831.tar.gz (sha256 6bf90123..., fresh R2 key or local artifact)
- Updates docs via capglyph-docs companion (see research/media-credential/technology/capacity-robustness-and-threats.md)

Refs CTX-0025
@Xuepoo
Xuepoo merged commit 0a664d1 into main Aug 31, 2026
8 checks passed
@Xuepoo
Xuepoo deleted the ctx-0025/feat-ladder branch August 31, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant